Skip to main content

previewFPS

Type

property

Summary

The camera frame rate.

Syntax

get the previewFPS of <widget>
set the previewFPS of <widget> to <fps>

Description

Set the previewFPS to specify camera frame rate to use when detecting barcodes. If barcode detection is too slow, then consider reducing frame rate. If the camera preview is too jerky, then consider increasing frame rate.

Defaults to 15.

property: previewWidth, previewHeight

Compatibility and Support

OS

android